﻿<UserControl x:Class="TextGlow.Control.UI.Container"
    xmlns="http://schemas.microsoft.com/client/2007" 
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:ui="clr-namespace:TextGlow.Control.UI">
  <Canvas x:Name="LayoutRoot">
    <Canvas.Resources>
      <Storyboard x:Name="FadeProgressPanel">
        <DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="ProgressPanel" Storyboard.TargetProperty="(UIElement.Opacity)">
          <SplineDoubleKeyFrame KeyTime="00:00:00" Value="1"/>
          <SplineDoubleKeyFrame KeyTime="00:00:01" Value="0"/>
        </DoubleAnimationUsingKeyFrames>
      </Storyboard>
    </Canvas.Resources>
    <Canvas.Background>
      <LinearGradientBrush EndPoint="0.5,-0.007" StartPoint="0.5,1.013">
        <GradientStop Color="#FF000000" Offset="0"/>
        <GradientStop Color="#FF333333" Offset="1"/>
      </LinearGradientBrush>
    </Canvas.Background>

    <ui:Header x:Name="Header" Canvas.ZIndex="10" />
    <Canvas x:Name="PageContainer" />
    <ui:Footer x:Name="Footer" Canvas.ZIndex="10" />

    <Canvas x:Name="ProgressPanel" Width="202" Height="40" Opacity="0">
      <TextBlock x:Name="ProgressText" Foreground="#FFFFFF" FontSize="14" />
      <Rectangle x:Name="ProgressBarBorder" Height="12" Width="202" Canvas.Left="0" Canvas.Top="22" Stroke="#999" StrokeThickness="1" />
      <Rectangle x:Name="ProgressBar" Height="10" Width="0" Canvas.Left="1" Canvas.Top="23" Fill="#CCC"/>
    </Canvas>
  </Canvas>
</UserControl>
